package com.atguigu.cloud.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author liking
 * @Description 断言
 * @Date 2025/4/24
 * @Version 1.0
 */
@RestController
@RequestMapping("/pay/gateway/predicates")
public class PredicatesController {

    @GetMapping("/get")
    public String get(@RequestParam("username") String username) {
        return "满足全部的断言 返回： " + "predicates,参数为：" + username;
    }
}
